import axios from 'axios'
const RESUMEMANAGEMENT = {
  // 简历列表
  selectResumeList () {
    return axios.get(`/zsrencai/api/m/person/resume/selectResumeList`, {
    })
  },
  // 简历新增
  resumeInsertResumeByPhone (params) {
    return axios.post(`/zsrencai/api/m/person/resume/insert`, params, {
    })
  },
  // 简历删除
  deleteById (params) {
    return axios.delete(`/zsrencai/api/m/person/resume/deleteById/` + params, { data: {} }, {
    })
  },
  // 简历详情
  selectEditResume (params) {
    return axios.get(`/zsrencai/api/m/person/resume/get/` + params, {
    })
  },
  // 教育经历新增
  insertEducation (params) {
    return axios.post(`/zsrencai/api/m/person/resume/insert-education`, params, {
    })
  },
  // 工作经历新增
  insertWork (params) {
    return axios.post(`/zsrencai/api/m/person/resume/insert-work`, params, {
    })
  },

  // 投递记录
  resumeUpdateExpress (params) {
    return axios.post(`/zsrencai/api/m/person/resume/updateExpress`, params, {
    })
  },
  // 公开简历
  resumeUpdatePublicity (params) {
    return axios.post(`/zsrencai/api/m/person/resume/updatePublicity`, params, {
    })
  },
  // 教育经历删除
  deleteEducation (params) {
    return axios.delete(`/zsrencai/api/m/person/resume/delete/education/` + params, { data: {} }, {
    })
  },
  // 工作经历删除
  deleteWork (params) {
    return axios.delete(`/zsrencai/api/m/person/resume/delete/work/` + params, { data: {} }, {
    })
  }
}

export default RESUMEMANAGEMENT
